.class public Lcom/instagram/android/activity/TwitterAuthActivity;
.super Lcom/instagram/android/activity/am;
.source "TwitterAuthActivity.java"


# instance fields
.field private final s:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 24
    invoke-direct {p0}, Lcom/instagram/android/activity/am;-><init>()V

    .line 26
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/activity/TwitterAuthActivity;->s:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/activity/TwitterAuthActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 24
    iget-object v0, p0, Lcom/instagram/android/activity/TwitterAuthActivity;->s:Ljava/lang/String;

    return-object v0
.end method

.method public static a(Landroid/support/v4/app/Fragment;I)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 98
    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Landroid/support/v4/app/Fragment;->j()Landroid/support/v4/app/j;

    move-result-object v1

    const-class v2, Lcom/instagram/android/activity/TwitterAuthActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 99
    invoke-virtual {p0, v0, p1}, Landroid/support/v4/app/Fragment;->a(Landroid/content/Intent;I)V

    .line 100
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/activity/TwitterAuthActivity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 24
    invoke-direct {p0, p1, p2}, Lcom/instagram/android/activity/TwitterAuthActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 29
    const-string v0, ""

    sget v1, Lcom/facebook/ba;->loading:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/activity/TwitterAuthActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {p0, v0, v1, v2}, Lcom/instagram/ui/a/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Lcom/instagram/ui/a/d;

    move-result-object v0

    .line 32
    new-instance v1, Lcom/instagram/android/activity/aj;

    invoke-direct {v1, p0, v0}, Lcom/instagram/android/activity/aj;-><init>(Lcom/instagram/android/activity/TwitterAuthActivity;Lcom/instagram/ui/a/d;)V

    invoke-static {p0, p1, p2, v1}, Lcom/instagram/android/u/f;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/instagram/android/u/h;)V

    .line 56
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/activity/TwitterAuthActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 24
    invoke-direct {p0}, Lcom/instagram/android/activity/TwitterAuthActivity;->j()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic c(Lcom/instagram/android/activity/TwitterAuthActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 24
    invoke-direct {p0}, Lcom/instagram/android/activity/TwitterAuthActivity;->k()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private j()Ljava/lang/String;
    .locals 1

    .prologue
    .line 59
    sget v0, Lcom/facebook/aw;->username:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/TwitterAuthActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private k()Ljava/lang/String;
    .locals 1

    .prologue
    .line 63
    sget v0, Lcom/facebook/aw;->password:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/TwitterAuthActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method protected h()Ljava/lang/String;
    .locals 2

    .prologue
    .line 68
    invoke-virtual {p0}, Lcom/instagram/android/activity/TwitterAuthActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->twitter:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected i()V
    .locals 4

    .prologue
    .line 73
    sget v0, Lcom/facebook/ax;->twitter_auth:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/TwitterAuthActivity;->setContentView(I)V

    .line 75
    sget v0, Lcom/facebook/aw;->done:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/TwitterAuthActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/activity/ak;

    invoke-direct {v1, p0}, Lcom/instagram/android/activity/ak;-><init>(Lcom/instagram/android/activity/TwitterAuthActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 83
    sget v0, Lcom/facebook/aw;->username:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/TwitterAuthActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/instagram/android/activity/TwitterAuthActivity;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/activity/TwitterAuthActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/facebook/ba;->username:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 84
    return-void
.end method

.method protected onStop()V
    .locals 1

    .prologue
    .line 88
    invoke-virtual {p0}, Lcom/instagram/android/activity/TwitterAuthActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/instagram/n/k;->a(Landroid/content/Context;Landroid/view/View;)V

    .line 89
    invoke-super {p0}, Lcom/instagram/android/activity/am;->onStop()V

    .line 90
    return-void
.end method
